// This is an app-specific locale storage mechanism, could be anything

export function getLocale() {
  return localStorage.RC_LOCALE || "en_US";
}

export function setLocale(loc) {
  localStorage.RC_LOCALE = loc || "";
}

export function getSessionId() {
  return localStorage.RC_SESSION_ID || "";
}

export function setSessionId(sessionId) {
  localStorage.RC_SESSION_ID = sessionId || "";
}

export function getJWS() {
  return localStorage.getItem("jws");
}

export function setJWS(authority) {
  return localStorage.setItem("jws", authority);
}
